<template>
  <div style="display: flex;line-height: 60px;">
    <div style="flex-grow: 1;">
      <span :class="iconMenu"
            style="cursor: pointer;"
            @click="collapse()"></span>
    </div>

    <el-dropdown style="width: 70px;">
      <span>王小虎</span>
      <i class="el-icon-setting"></i>
      <el-dropdown-menu slot="dropdown">
        <el-dropdown-item>查看</el-dropdown-item>
        <el-dropdown-item>新增</el-dropdown-item>
        <el-dropdown-item>删除</el-dropdown-item>
      </el-dropdown-menu>
    </el-dropdown>
  </div>
</template>
<script>
export default {
  name: 'MyHeader',
  props: {
    iconMenu: String,
    logTestShow: Boolean

  },
  data () {
    return {
    }
  },
  methods: {
  },
  created () {
  },
  mounted () {
  },
}
</script>

